Fix(migration): Rename primary key of uploaded_files table#2649
Merged
Chartman123 merged 1 commit intomainfrom Mar 19, 2025
Merged
Fix(migration): Rename primary key of uploaded_files table#2649Chartman123 merged 1 commit intomainfrom
Chartman123 merged 1 commit intomainfrom
Conversation
Collaborator
Author
|
/backport to stable4 |
susnux
reviewed
Mar 19, 2025
54c7e96 to
5acb07c
Compare
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2649 +/- ##
============================================
- Coverage 43.43% 43.34% -0.10%
- Complexity 885 887 +2
============================================
Files 77 78 +1
Lines 3361 3368 +7
============================================
Hits 1460 1460
- Misses 1901 1908 +7 🚀 New features to boost your workflow:
|
Collaborator
Author
|
For the backport we need to rename the migration to match the corresponding v4 version |
Koc
approved these changes
Mar 19, 2025
susnux
reviewed
Mar 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes #2648. It changes the primary key name parameter in the original migration and adds a new migration for existing installations that drops the old primary key and creates a new one with the new name.
Signed-off-by: Christian Hartmann chris-hartmann@gmx.de